package com.cookie.libgdx.airforcecolonel.sprite;

public class Cloud extends DynamicGameObject {
	
	
	public Cloud(float x, float y, float width, float height) {
		super(x, y, width, height);
	}

	public void setVelocity(float vx,float vy){
		this.velocity.x = vx;
		this.velocity.y = vy;
	}
	
	@Override
	public void update(float deltaTime) {
		this.positon.x = this.positon.x + this.velocity.x*deltaTime;
		this.positon.y = this.positon.y + this.velocity.y*deltaTime;
	}
}
